﻿using Zhp.Model.Design;

namespace Zhp.IService.Design
{
    public interface IDesignTableService
    {
        Task<List<DesignTableModel>> Query();
        Task<bool> Create(DesignTableEdit create);
        Task<bool> Update(DesignTableEdit update);
        Task<bool> TableRename(DesignTableRename update);
        Task<bool> Delete(string tableName);
        public Type GetDynamicType(string tableName);
        Type GetDynamicType(DesignTableEdit p);
        List<DesignColumnDataType> QueryDataTypeSelect();
        Task<List<DesignColumnModel>> QueryColumn(string tableName);
    }
}
